package cn.huangsm.advance.optimisticlock.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @author huang
 * @PACKAGE_NAME cn.huangsm.advance.optimisticlock.bean
 * @PROJECT_NAME advance-code
 * @date 2019/1/10
 */
@TableName("user")
@Data
public class User {

    private Integer id;
    private String name;
    private Integer age;
    private String email;
    @Version
    private Integer version;
}
